class_name PlayerIdleState
extends GameplayState

@onready var player: Player = $"../../../"


func _on_enter() -> void:
	player.animator.play(&"idle")

	player.player_tag_manager.add_tag(player.player_tag_manager.State_Ground_Stand)
	
	player.velocity = Vector2.ZERO


func _on_update(_delta: float) -> void:
	player.velocity = Vector2.ZERO


func _on_exit() -> void:
	player.player_tag_manager.remove_tag(player.player_tag_manager.State_Ground_Stand)
